package com.yanqu.road.entity.travel;

import java.util.ArrayList;
import java.util.List;

public class TravelResult {
    private int ret;
    private List<TravelGain> travelGainList = new ArrayList<>();

    public int getRet() {
        return ret;
    }

    public void setRet(int ret) {
        this.ret = ret;
    }

    public List<TravelGain> getTravelGainList() {
        return travelGainList;
    }

    public void setTravelGainList(List<TravelGain> travelGainList) {
        this.travelGainList = travelGainList;
    }

    public void addTravelGain(TravelGain travelGain){
        travelGainList.add(travelGain);
    }
}
